<form id="pagerForm" action="__URL__/ckBackContacts" method="post">
	<input type="hidden" name="pageNum" value="1"/>
	<input type="hidden" name="_order" value="{$_REQUEST._order}"/>
	<input type="hidden" name="_sort" value="{$_REQUEST._sort}"/>
    <input type="hidden" name="numPerPage" value="{$_REQUEST.numPerPage}" />
</form>
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return dialogSearch(this);" action="__URL__/ckBackContacts" method="post">
	<div class="searchBar">
		<ul class="searchContent"> 
         <li>
				<label>关键字：</label>
				<input class="textInput" name="selectname" value="" type="text">
			</li>       
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<table class="table" width="100%" layoutH="138">
		<thead>
		<tr>
			<th>编号</th>
			<th width="100" orderField="comname" <if condition="$_REQUEST._order eq 'comname'">class="{$_REQUEST._sort}"</if>>单位名称</th>
			<th width="100" orderField="compcode" <if condition="$_REQUEST._order eq 'compcode'">class="{$_REQUEST._sort}"</if>>单位代码</th>
			<th orderField="contatype" <if condition="$_REQUEST._order eq 'contatype'">class="{$_REQUEST._sort}"</if>>单位类型</th>
            <th>联系人</th>
            <th>单位地址</th>
			<th>备注</th>
            <!--<th>选中返回</th> -->  
		</tr>
		</thead>
		<tbody>
		<volist id="vo" name="list">
			<tr target="sid_user" rel="{$vo['id']}" onclick="javascript:$.bringBack({ 
			    id:'{$vo.id}',
                orgName:'{$vo.comname}',
                orgType:'{$vo.contatype}'}
                )">
				<td>{$vo['id']}</td>
				<td>{$vo['comname']}</td>
				<td>{$vo['compcode']}</td>
				<td>{$vo['contatype']|showContatype=$vo['id']}</td>				
                <td>{$vo['contname']}</td>
                <td>{$vo['address']}</td>
                <td>{$vo['remarks']}</td>
               <!-- <td>
				<a class="btnSelect" href="javascript:$.bringBack({ id:'{$vo.id}',orgName:'{$vo.comname}',orgType:'{$vo.contatype}'})" title="查找带回">选择</a>
				</td>-->
			</tr>
		</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="dialog" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
	</div>

</div>